package com.bug.service;

import com.bug.dao.IBugDao;
import com.bug.domain.Bug;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: mayuanbao
 * @date: 2019-01-09 15:35
 * @description:
 */
@Service(value = "bugService")
public class BugServiceImpl implements IBugService {
    @Resource(name = "bugDao")
    private IBugDao bugDao;
    @Override
    public List<Bug> getBugs() {
        return bugDao.getBugs();
    }
}
